package com.gl.marina;
import java.util.*;

public class Main {
    public static void main(String[] args) {
        ListForTest testList=new ListForTest();
        List<String> list=new ArrayList<String>();
        testList.removingAll(list);
        testList.isExist("one",list);
        try{
        testList.insertByIndex(5,"five",list);
        testList.removeByIndex(1,list);
        testList.IteratorArrayList(list);
        }
        catch (IndexOutOfBoundsException e){
            e.printStackTrace();
        }
        catch (NoSuchElementException e){
            e.printStackTrace();
        }
        catch (Exception e){
            e.printStackTrace();
        }
    }
}